/*------------------------------
            Global        
------------------------------*/
body {
    font-family: 'Rubik', sans-serif;
    background-color: #FAFAFA;
}



/*------------------------------
            Navbar        
------------------------------*/
.navbar {
    z-index: 101;
} /* overrides style.css */

.navbar-homepage {
    position: fixed;
    background-color: #0F3077;
    padding-bottom: 2.25rem;
}

@media (max-width: 1435px) {
    .navbar-homepage {
        padding-bottom: .75rem;
    }
}

@media (max-width: 1200px) {
    .navbar-homepage {
        padding-bottom: .5rem;
    }
}

@media (max-width: 992px) {
    .navbar-homepage {
        padding-bottom: 0rem;
    }
}



/*------------------------------
        Asset Map Page        
------------------------------*/
.assets {
    padding-bottom: 2rem;
} /* overrides style.css */



/*------------------------------
      Home Page Map Section        
------------------------------*/
.public-assets {
    padding: 2rem 0 0 0;
    background-color: #EAEAEA;
}



/*------------------------------
        Map Page Modal       
------------------------------*/
#map-modal-body p {
    font-size: .75rem;
}

#map-modal-body li {
    font-size: .75rem;
}



/*------------------------------
       Map and List Areas       
------------------------------*/
@media (min-width: 1200px) and (max-width: 1299px) {
    .map-and-list .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0%;
    }
}

@media (min-width: 1300px) and (max-width: 1630px) {
    .map-and-list .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0%;
    }
}



/*------------------------------
           Map Area     
------------------------------*/
#map-area {
    border-bottom: 1px solid lightgray;
}

#map {
    height: 71vh;
    /*height: 40rem;*/
    z-index: 100;
}



/*------------------------------
          List Area        
------------------------------*/
#list-area {
    border-bottom: 1px solid lightgray;
    z-index: 100;
}

.public-assets #list-area {
    border-bottom: none;
}

#list-header {
    height: 5vh;
    /*height: 3rem;*/
}

.public-assets #list-header h3 {
    color: #0F3077;
}

#list {
    height:66vh;
    /*height: 37rem;*/
    overflow-y: scroll;
    border-top: 1px solid lightgray;
}



/*------------------------------
          List Cards        
------------------------------*/
.list-item {
    background-color: #EFF2F6;
    border: 2px solid #0F3077;
}

.list-item p {
    font-size: 12px;
    margin: 0;
}

.top-btn-row .col-10 {
    padding-right: 0;
}

.top-btn-row .col-2 {
    padding-left: 0;
}

.btn {
    border: 2px solid #0F3077;
} /* overrides style.css */

.list-item-btn {
    font-size: 12px;
    padding: .25rem .2rem !important;
}

.zoom-to-btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 1px solid #0F3077;
}

.zoom-btn-text {
    position: relative;
    left: 1.75rem;
}

@media (max-width: 1800px) {
    .zoom-btn-text {
        left: 1.25rem;
    }
}

@media (max-width: 1630px) {
    .zoom-btn-text {
        left: 1rem;
    }
}

@media (max-width: 1300px) {
    .zoom-btn-text {
        left: .75rem;
    }
}

@media (max-width: 1199px) {
    .zoom-btn-text {
        left: .5rem;
    }
}

@media (max-width: 991px) {
    .zoom-btn-text {
        left: .25rem;
    }
}

@media (max-width: 767px) {
    .zoom-btn-text {
        left: 0rem;
    }
}

.highlight-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid #0F3077;
}

.highlight-icon {
    font-size: 10px;
}

.highlight-on {
    background-color: cyan !important;
}

.highlight-on:hover {
    color: dimgray !important;
}



/*------------------------------
        Feature Popup        
------------------------------*/
.feature-popup {
    font-family: 'Rubik', sans-serif;
}

.feature-popup h5{
    color: #5B6D82;
}

.feature-popup p{
    font-size: 12px;
}



/*------------------------------
         Layer Loader
------------------------------*/
.loader-border {
    position: absolute;
    z-index: 9998;
    left: calc(50% - 31px);
    top: 29px;
    border: 12px solid black;
    border-top: 12px solid black;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    animation: spin 2s linear infinite;
}

.loader {
    position: absolute;
    z-index: 9999;
    left: calc(50% - 30px);
    top: 30px;
    border: 10px solid #f3f3f3;
    border-top: 10px solid #4E74A0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/*------------------------------
 Leaflet Control + Panel Layers        
------------------------------*/
.layer-control {
    font-family: 'Rubik', sans-serif;
    background-color: #EFF2F6;
    min-width: 200px;
    max-height: 66vh;
    border-radius: 5px;
}

.layer-control-title {
    color: #0F3077;
    font-weight: 600;
}

.leaflet-panel-layers-base {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.leaflet-panel-layers-base .leaflet-panel-layers-title {
    float: left;
}

.leaflet-panel-layers-base .leaflet-panel-layers-selector { 
    margin: 1px 10px 0px 5px;
}

.leaflet-panel-layers-group {
    min-height: 25px;
    margin-bottom: 15px;
    background-color: #EAEAEA;
}

.leaflet-panel-layers-grouplabel .leaflet-panel-layers-title {
    position: relative;
    right: 8px;
}

.leaflet-panel-layers-grouplabel .leaflet-panel-layers-selector {
    margin: 4px 0 0 0;
}

.leaflet-panel-layers-group .leaflet-panel-layers-item {
    overflow: hidden;
    width: 100%;
    min-height: 25px;   
}

.leaflet-panel-layers-group .leaflet-panel-layers-item .leaflet-panel-layers-title {
    float: left;
    margin: 5px 5px 5px 0px;
}

.leaflet-panel-layers-group .leaflet-panel-layers-item .leaflet-panel-layers-selector { 
    margin: 1px 10px 0px 5px;
    float: left;
}

.layer-control-legend {
    clear: left; 
    display: block;
    margin: 4px 0px 2px 25px;
} 

input[type='radio'] {
    accent-color: #4E74A0;
}

input[type='checkbox'] {
    accent-color: #4E74A0;
}



/*------------------------------
           Scrollbar        
------------------------------*/
.scroll::-webkit-scrollbar {
    width: 6px;
}

.scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.scroll::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(78, 116, 160, 0.8);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.scroll::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(78, 116, 160, 0.4);
}
